package com.black.app.service.my;

import com.black.app.domain.my.AppMyOrderAftersale;
import com.baomidou.mybatisplus.extension.service.IService;
import com.black.app.domain.req.my.myorders.AppOrderAftersaleAddReq;
import com.black.app.domain.req.my.myorders.SysOrderAfterSaleQueryReq;
import com.black.app.domain.resp.my.myorders.AppOrderAfterSaleResp;
import com.black.app.domain.resp.my.myorders.AppOrderAftersaleDetailsResp;
import com.black.app.domain.resp.my.myorders.SysAfterSaleResp;
import com.github.pagehelper.PageInfo;

/**
 * @author admin
 * @description 针对表【app_my_order_aftersale(订单售后表)】的数据库操作Service
 * @createDate 2024-11-01 15:23:40
 */
public interface AppMyOrderAftersaleService extends IService<AppMyOrderAftersale> {
    //后台订单售后分页查询
    PageInfo<SysAfterSaleResp> paginationQuery(SysOrderAfterSaleQueryReq req);
    //用户售后订单列表
    PageInfo<AppOrderAfterSaleResp> aftersaleList(Integer userId);
    //根据id获取用户订单售后详情
    AppOrderAftersaleDetailsResp finById(Integer id);
    //新增售后订单
    boolean addOrderAftersale(AppOrderAftersaleAddReq req);
}
